import baseApi from '@/utils/apibase'

export const uploadAssetApi = (data ) =>{
    const params = {
        url: '/api/multimedia/asset!base64Upload.do',
        data: data,
        method: 'POST'
    }
    return baseApi(params)
}

export const createNewAsset = (data)=>{
    const params = {
        url: '/api/creatNewAsset',
        data: data,
        method: 'POST'
    }
    return baseApi(params)
}